-- ********************************************************************
-- CISCO-DNS-CLIENT-MIB.my: DNS Client Configuration MIB
--
-- Sep 2004, Arul Mozhi
--
-- Copyright (c) 2004 by cisco Systems, Inc.
-- All rights reserved.
--
-- ********************************************************************CISCO-DNS-CLIENT-MIB DEFINITIONS::=BEGIN
IMPORTSMODULE-IDENTITY,OBJECT-TYPE,Unsigned32FROM SNMPv2-SMI
MODULE-COMPLIANCE,OBJECT-GROUPFROM SNMPv2-CONF
RowStatusFROM SNMPv2-TC
SnmpAdminStringFROM SNMP-FRAMEWORK-MIB
InetAddressType,InetAddressFROM INET-ADDRESS-MIB
ciscoMgmt
FROM CISCO-SMI;ciscoDNSClientMIB MODULE-IDENTITYLAST-UPDATED"200409090000Z"ORGANIZATION"Cisco Systems Inc. "CONTACT-INFO" Cisco Systems
Customer Service
Postal: 170 W Tasman Drive
San Jose, CA 95134
USA
Tel: +1 800 553 -NETS
E-mail: cs-san@cisco.com"DESCRIPTION"The MIB module for entities implementing the client
side of the Domain Name System (DNS) protocol."REVISION"200409090000Z"DESCRIPTION"Initial version of this MIB module."::={ ciscoMgmt 436}ciscoDNSClientMIBNotifs OBJECTIDENTIFIER::={ ciscoDNSClientMIB 0}ciscoDNSClientMIBObjects OBJECTIDENTIFIER::={ ciscoDNSClientMIB 1}ciscoDNSClientMIBConformance OBJECTIDENTIFIER::={ ciscoDNSClientMIB 2}cdcConfigGroup OBJECTIDENTIFIER::={ ciscoDNSClientMIBObjects 1}
--
-- The DNS Configuration
--cdcDNSConfigEnable OBJECT-TYPESYNTAXINTEGER{enabled(1),disabled(2)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"This object indicates whether the DNS
configuration is enabled or disabled in the local
system."DEFVAL{ disabled }::={ cdcConfigGroup 1}cdcNoOfDNSServerConfig OBJECT-TYPESYNTAXUnsigned32(0..64)MAX-ACCESSread-only
STATUScurrentDESCRIPTION"This object represents the current number of entries
in the 'cdcDNSServerTable'. Indicates the number of
DNS Server entries that are configured in the system."::={ cdcConfigGroup 2}cdcDNSServerNextAvailIndex OBJECT-TYPESYNTAXUnsigned32(0..65535)MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"This object contains the next available value for
the object 'cdcDNSServerIndex'. If all values are
exhausted, then this object will contain a 0 value.
A management application should read this object,
get the (non-zero) value and use same for
creating an entry in the 'cdcDNSServerTable'.
If two network management applications read this
object at the same time and try to create an entry
in the 'cdcDNSServerTable', only one of them will
succeed. The network management application which
failed, will need to re-read this object and try
the SET again."::={ cdcConfigGroup 3}cdcDNSServerTable OBJECT-TYPESYNTAXSEQUENCEOF CdcDNSServerEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"This table contains information about the Domain Name
System (DNS) Server configurations in the system.
When the DNS configuration is disabled in the system,
i.e., 'cdcDNSConfigEnable' object is set to
'disabled', all entries of this table will be removed
automatically.
The index of this table is not persistent upon
system reboot."::={ cdcConfigGroup 4}cdcDNSServerEntry OBJECT-TYPESYNTAX CdcDNSServerEntry
MAX-ACCESSnot-accessible
STATUScurrentDESCRIPTION"An Entry representing the information about a
DNS Server configuration.
The entries are contacted in turn by the system for
DNS services. The first entry in this table will be
contacted first, and so on."INDEX{ cdcDNSServerIndex }::={ cdcDNSServerTable 1}
CdcDNSServerEntry ::=SEQUENCE{
cdcDNSServerIndex Unsigned32,
cdcDNSServerAddrType InetAddressType,
cdcDNSServerAddr InetAddress,
cdcDNSServerStatus RowStatus}cdcDNSServerIndex OBJECT-TYPESYNTAXUnsigned32(1..65535)MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"This object represents the index corresponding to the
particular DNS Server configuration in the system.
For creation of new entry, the value of this object
should be same as that of the value of
'cdcDNSServerNextAvailIndex' object. If this is not
the case, then the entry creation will fail."::={ cdcDNSServerEntry 1}cdcDNSServerAddrType OBJECT-TYPESYNTAXInetAddressTypeMAX-ACCESSread-createSTATUScurrentDESCRIPTION"This object represents the Inet Address type of the
'cdcDNSServerAddr' object.
An attempt to modify this object will fail with
an 'inconsistentValue' error, if the value of the
corresponding instance of 'cdcDNSServerStatus'
object is active(1)."DEFVAL{ ipv4 }::={ cdcDNSServerEntry 2}cdcDNSServerAddr OBJECT-TYPESYNTAXInetAddressMAX-ACCESSread-createSTATUScurrentDESCRIPTION"This object represents the address of the
DNS Server.
This object is a mandatory object for row creation.
An attempt to modify this object will fail with
an 'inconsistentValue' error, if the value of the
corresponding instance of 'cdcDNSServerStatus' object
is active(1)."::={ cdcDNSServerEntry 3}cdcDNSServerStatus OBJECT-TYPESYNTAXRowStatusMAX-ACCESSread-createSTATUScurrentDESCRIPTION"The Status of this row."::={ cdcDNSServerEntry 4}
-- Domain Name ConfigurationcdcDefaultDNSDomainName OBJECT-TYPESYNTAXSnmpAdminString(SIZE(0..80))MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"This object represents the Default DNS domain name
of the system. When this object is set to a
non empty string value, the domain name part of the
fully qualified name represented by the 'sysName'
object is updated by the value of this object.
When there is no entry in the 'cdcDNSDomainNameTable',
the value of this object is used for the domain name
configuration of the system.
When there is an entry in the 'cdcDNSDomainNameTable',
the value of this object is not used."DEFVAL{""}::={ cdcConfigGroup 5}
cdcDNSDomainNameTable OBJECT-TYPESYNTAXSEQUENCEOF CdcDNSDomainNameEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"This table contains the list of DNS Domain Names
defined for the system. Each domain name to be
tried in turn, for the domain name configuration
of the system."::={ cdcConfigGroup 6}cdcDNSDomainNameEntry OBJECT-TYPESYNTAX CdcDNSDomainNameEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry (conceptual row) in the
'cdcDNSDomainNameTable'.
Each row represents a DNS Domain name defined
for the system."INDEX{ cdcDNSDomainNameIndex }
::={ cdcDNSDomainNameTable 1}
CdcDNSDomainNameEntry ::=SEQUENCE{
cdcDNSDomainNameIndex Unsigned32,
cdcDNSDomainName SnmpAdminString,
cdcDNSDomainNameStatus RowStatus}cdcDNSDomainNameIndex OBJECT-TYPESYNTAXUnsigned32(1..64)MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An arbitrary integer value, greater than zero,
which uniquely identifies a DNS Domain Name
defined for the system."::={ cdcDNSDomainNameEntry 1}cdcDNSDomainName OBJECT-TYPESYNTAXSnmpAdminString(SIZE(1..80))MAX-ACCESSread-createSTATUScurrentDESCRIPTION"This object represents a DNS Domain Name
defined for the system. When this object is
set to a non empty string value, the domain name
part of the fully qualified name represented by
the 'sysName' object is updated by the value of
this object.
This object is a mandatory object for row creation.
An attempt to modify this object will fail with
an 'inconsistentValue' error, if the value of the
corresponding instance of 'cdcDNSDomainNameStatus'
object is active(1)."::={ cdcDNSDomainNameEntry 2}cdcDNSDomainNameStatus OBJECT-TYPESYNTAXRowStatusMAX-ACCESSread-createSTATUScurrentDESCRIPTION
"The status of this conceptual row.
Once value of this object is set to 'active',
the associated entry can not be modified except
destroyed by setting this object to destroy(6)."::={ cdcDNSDomainNameEntry 3}--
-- Conformance
--ciscoDNSClientMIBCompliances
OBJECTIDENTIFIER::={ ciscoDNSClientMIBConformance 1}ciscoDNSClientMIBGroups
OBJECTIDENTIFIER::={ ciscoDNSClientMIBConformance 2}ciscoDNSClientMIBCompliance MODULE-COMPLIANCESTATUScurrentDESCRIPTION"The compliance statement for entities which
implement the CISCO-DNS-CLIENT-MIB."MODULEMANDATORY-GROUPS{
ciscoDNSServerConfigGroup ,
ciscoDNSDomainNameConfigGroup
}::={ ciscoDNSClientMIBCompliances 1}--
-- Units of Conformance
--ciscoDNSServerConfigGroup OBJECT-GROUPOBJECTS{
cdcDNSConfigEnable,
cdcNoOfDNSServerConfig,
cdcDNSServerNextAvailIndex,
cdcDNSServerAddrType,
cdcDNSServerAddr,
cdcDNSServerStatus
}STATUScurrentDESCRIPTION"A collection of objects for DNS Server
address Configuration."::={ ciscoDNSClientMIBGroups 1}ciscoDNSDomainNameConfigGroup OBJECT-GROUPOBJECTS{
cdcDefaultDNSDomainName,
cdcDNSDomainName,
cdcDNSDomainNameStatus
}STATUScurrentDESCRIPTION"A collection of objects for DNS
Domain Name Configuration."::={ ciscoDNSClientMIBGroups 2}END